import request from "@/utils/api/request.ts";

export const login = (data: object) => request({
    url: `/users/login/`,
    method: 'post',
    data,
    timeout: 20000,
    retryTimes: 5,
    retryDelay: 2000
});

export const logout = (params: object) => request({url: `/users/logout/`, method: 'get', params})